package com.example.inami.third.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class PageParam {
    private Integer pageNum;
    private Integer pageSize;
    private Integer fullFlag;
    private String startTime;
    private String endTime;

    public PageParam(Integer pageNum, Integer pageSize, Integer fullFlag) {
        this.pageNum = pageNum;
        this.pageSize = pageSize;
        this.fullFlag = fullFlag;
    }

    public PageParam(Integer pageNum, Integer pageSize, Integer fullFlag, String startTime, String endTime) {
        this.pageNum = pageNum;
        this.pageSize = pageSize;
        this.fullFlag = fullFlag;
        this.startTime = startTime;
        this.endTime = endTime;
    }
}
